places view: Avoid a crash in finalize
authorMatthias Clasen <mclasen@redhat.com>
Wed, 2 Sep 2015 05:50:51 +0000 (01:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Sep 2015 11:15:57 +0000 (07:15 -0400)
commit6064ed5181087387cf325dcfcd977d18fb3ce3a7
tree3e2eba1fb95b6ee337b70a5bcf3543261352ddbb
parent6a4e4a9fe8ffb4b4acfbbb4d382278a5a22fdfb0
places view: Avoid a crash in finalize

When the places view is finalized before the network loading
is finished, the async operation is cancelled, and the callback
accesses the places view while it is already in a state of
disrepair. Avoid that access.
gtk/gtkplacesview.c